package main

func main() {
	// if语句
	if true {
		println("结果为true")
	} else {
		println("结果为false")
	}

	// switch
	var a = 1
	switch a {
	case 1:
		println(1)
	case 2:
		println(2)
	case 3, 4:
		println(3, 4)
	default:
		println(5)
	}
}
